<?php 
namespace Home\Controller;

class ContactController extends HomeController {
    public function index(){
        $map['id'] = 6;
        $list = M('Onepage')->where($map)->find();
        $this->assign('list',$list);
        $this->assign('id',$id);
        $this->display();
    }

    public function feedback(){
        $this->display();
    }

    public function save(){
        $this->all_add("Feedback","reload");
    }
    
}